import { v4 as uuidv4 } from 'uuid';
export function getuuId(){
   
     let uuid= localStorage.getItem('UUIDTOKEN')
    if(!uuid){
         uuid=uuidv4()
         localStorage.setItem('UUIDTOKEN',uuid)
    }
    return uuid
}

//挂载到全局变量执行一次，要不很消耗性能